package com.weimei.conversionTreasure.http.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class MonthDetailBean extends BaseResult{
    @SerializedName("data")
    private DataDTO data;

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        @SerializedName("TotalExpend")
        private int totalExpend;
        @SerializedName("TotalNumber")
        private int totalNumber;
        @SerializedName("dInfo")
        private List<DInfoDTO> dInfo;

        public int getTotalExpend() {
            return totalExpend;
        }

        public void setTotalExpend(int totalExpend) {
            this.totalExpend = totalExpend;
        }

        public int getTotalNumber() {
            return totalNumber;
        }

        public void setTotalNumber(int totalNumber) {
            this.totalNumber = totalNumber;
        }

        public List<DInfoDTO> getDInfo() {
            return dInfo;
        }

        public void setDInfo(List<DInfoDTO> dInfo) {
            this.dInfo = dInfo;
        }

        public static class DInfoDTO {
            @SerializedName("date")
            private String date;
            @SerializedName("TotalPrice")
            private double totalPrice;
            @SerializedName("dlist")
            private List<DlistDTO> dlist;

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getTotalPrice() {
                return totalPrice+"";
            }

            public void setTotalPrice(double totalPrice) {
                this.totalPrice = totalPrice;
            }

            public List<DlistDTO> getDlist() {
                return dlist;
            }

            public void setDlist(List<DlistDTO> dlist) {
                this.dlist = dlist;
            }

            public static class DlistDTO {
                @SerializedName("id")
                private int id;
                @SerializedName("className")
                private String className;
                @SerializedName("notes")
                private String notes;
                @SerializedName("price")
                private double price;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getClassName() {
                    return className;
                }

                public void setClassName(String className) {
                    this.className = className;
                }

                public String getNotes() {
                    return notes;
                }

                public void setNotes(String notes) {
                    this.notes = notes;
                }

                public String getPrice() {
                    return price+"";
                }

                public void setPrice(double price) {
                    this.price = price;
                }
            }
        }
    }
}
